package com.sunsl.jobschedule;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//@ComponentScan("com.cmb.xzkb.jobschedule")
@MapperScan("com.sunsl.jobschedule.dao")
@SpringBootApplication
//@EnableDiscoveryClient
@RestController
public class JobScheduleApplication {

	public static void main(String[] args) {
		SpringApplication.run(JobScheduleApplication.class, args);
	}

	@RequestMapping("/")
	public String healCheck(){
		return "success";
	}
}
